#include<stdio.h>
#include<stdlib.h>
#define N 7;
typedef struct Node
{
	int data;
	struct  Node *next;
}Node;
int main(){
	int a[] ={11,12,13,14,15,16,17};
	Node *p = (Node*)malloc(sizeof(Node));
	printf("p init value :%d\n",p->data);
	Node *t ;
	t=p;
	printf("t init value :%d\n",t->data);
	for(int i=0 ;i<7 ;i++){
	 	Node *s =(Node *)malloc(sizeof(Node));
	 	s->data=a[i];
	 	printf("%d\n",s->data );
	 	p->next=s;
	 	p=p->next;
	}
	while(t->next!=NULL){
		t=t->next;
		printf("%d\n", t->data);
	}
	return 0;
}
